package javaCode.chapter07.Debug_;

import java.util.Arrays;

public class Debug03 {
    public static void main(String[] args) {

        int[] arr = {1, -1, 10, -20, 40};
        Arrays.sort(arr);
        for (int i = 0; i < arr.length; i++) {
            System.out.print(arr[i] + " ");
        }
    }
}
